<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
		
		var sTr = '123asd789asdkj654';

		var sTr2 = sTr.split('').reverse().join('');


		alert(sTr2);






	</script>
</head>
<body>
	
</body>
</html>